package com.qf.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qf.entity.OrderEntity;
import com.qf.vo.OrderParam;

import java.util.concurrent.ExecutionException;

/**
 * 
 *
 * @author Java2102
 * @email Java2102@qf.com
 * @date 2021-07-20 10:35:04
 */
public interface OrderService extends IService<OrderEntity> {
    String createOrder(OrderParam orderParam, Integer id) throws ExecutionException, InterruptedException;

    OrderEntity getOrderById(String oid, Integer tabIndex);

    void updateOrderStatus(String oid, Integer status);

    OrderEntity getOrderById2(String oid);

    OrderEntity getOrderInfoById(String oid);
}

